/*
 * ByteStreamMessage.h
 *
 *  Created on: Aug 13, 2012
 *      Author: nam20485
 */

#ifndef BYTESTREAMMESSAGE_H_
#define BYTESTREAMMESSAGE_H_


#include "Message.h"
#include "Array.h"

class ByteStreamMessage: public Message
{
public:
	ByteStreamMessage(const BYTE* aBytes);
	virtual ~ByteStreamMessage();

	const BYTE* getBytes() const		{ return m_aBytes; 	}
	unsigned int getCount() const	{ return m_unCount; }
	virtual unsigned int toBytes(BYTE* aBytes);

protected:
	const unsigned int m_unCount;
	//Array<BYTE> m_aBytes;
	const BYTE* m_aBytes;


};

#endif /* BYTESTREAMMESSAGE_H_ */
